package device

import (
	"driverTest/util"
)

func CreatData() []byte {
	cmd := []byte{106, 0x02, 0x02, 0x08, 0x00, 0x02}
	cmd = append(cmd, 0x00, 0x00)
	cmd = util.AddModebusCRC16(cmd)
	prefix := []byte{0x02, 0x01, 0x48}
	cmd = append(prefix, cmd...)
	return cmd
}
